var express = require('express');
var router = express.Router();
const mongoose = require('mongoose');
require("../model/pointsModel");
const exercisesSchema = new mongoose.Schema({
    analysis: String,
    answer: String,
    options: Array,
    pointId: {
        type: mongoose.SchemaTypes.ObjectId,
        ref:'pointsModel'
},
    score: String,
    topics: String
});
mongoose.model('exercisesModel', exercisesSchema, 'exercises');
